package com.example.springboot_plus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springboot_plus.pojo.Student;

import java.util.List;

/**
 * projectName: springboot_part
 *
 * @author: 赵伟风
 * time: 2021/9/16 15:25
 * description:专门负责student数据库的crud的接口
 */
public interface StudentMapper extends BaseMapper<Student> {

    /**
     * 查询学生信息和家属信息的接口方法
     * @return
     */
    List<Student> selectStudents();

    /**
     * 查询学生信息和分数信息
     * @return
     */
    List<Student> selectStudentAndScore();

    /**
     * 查询学生信息和课程和分数信息
     * @return
     */
    List<Student> selectStudentAndScoreAndCourse();

}
